package com.gitee.wsl.mathematics.geometry.d3.face

import com.gitee.wsl.mathematics.geometry.d3.vertex.AnyKind
import com.gitee.wsl.mathematics.geometry.d3.vertex.MutableKind

interface FaceKindSource {
    val kind: FaceKind
    val source: AnyKind
}

data class MutableFaceKindSource(
    override var kind: FaceKind,
    override val source: AnyKind
) : MutableKind<FaceKind>, FaceKindSource {
    override fun toString(): String = "$kind<-$source"
}